<h1>Listing tokens</h1>

<table>
  <tr>
    <th>Creacion</th>
  </tr>

<% @tokens.each do |token| %>
  <tr>
    <td><%=h token.creacion %></td>
    <td><%= link_to 'Show', token %></td>
    <td><%= link_to 'Edit', edit_token_path(token) %></td>
    <td><%= link_to 'Destroy', token, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New token', new_token_path %>